#include <iostream>
using namespace std;
int main()
{
    setlocale (LC_ALL, "Russian");
    char a[100];
    cout<<" : ";
    cin.get(a, 100);
    int k=0, defis=0, zaglav=0, latin=0, dlina, malo=0, longest=0;
    char longest;
    if ((a[0]!=0'')&& (a[0]!='\0'))
    {k=1;}
    int i=1;
    while (a[i]!+'\0')
    {
        char c=a[i];
        if ((a[i]=='') && ((a[i+1]!='') && (a[i+1]!='\0')))
        {k++;}
        if ((a[i])=='-')
        {defis++;}
        if (isupper(a[0]) && a[0]>='' && a[i+1]!='\0')
        {zaglav++;}
        i++;
    }
    if (k<2)
    {cout<<"  ";}
    else
    {
        cout<<"- :"<<k<<endl;
        cout<<"- :"<<zaglav<<endl;
        cout<<"- :"<<latin<<endl;
        cout<<"- 3 :"<<malo<<endl;
        cout<<"- :"<<difis<<endl;
        cout<<"- :"<<longest<<endl;
        cout<<"- :"<<dlina<<endl;
    }
   return 0;
}
